// 别名配置
module.exports = {
  transpileDependencies: true,
  lintOnSave: false,
  configureWebpack:{
    resolve: {
      extensions:[],
      alias:{ //解决路径 配置别名
        'assets':'@/assets',
        'commonjs':'@/commonjs',
        'components':'@/components',
        'network':'@/network',
        'views':'@/views',
      }
    }
  },
  devServer: {
      proxy: {
          '/my': {
              target: 'http://localhost:8888',
              changeOrigin: true
          }
      }
  }
}